<div class="filter-item" *ngIf="visibleHandler()">

  <div class="filter-item-title">
    类型
  </div>
  <div class="filter-content">
    <div class="filter-button seed-flexbox  seed-flexbox-wrap"
         *ngIf="data.categoryList"
    >
      <button class="filter-item-cell"
              *ngFor="let item of data.categoryList;let idx = index;let last = last"
              [class.active]="idx == active"
              (click)="selectHandler(item,idx)"
      >
        {{item.cateName}}
      </button>
    </div>

<!--    <div class="filter-button seed-flexbox  seed-flexbox-wrap"
         *ngIf="data.attributeList"
    >
      <button class="filter-item-cell seed-line-clamp"
              *ngFor="let item of data.attributeList;let idx = index;let last = last"
              [class.active]="idx == active"
              (click)="selectHandler(item,idx)"
      >
        {{item.attrName}}
      </button>
    </div>

    <div class="filter-button seed-flexbox  seed-flexbox-wrap"
         *ngIf="data.brandList"
    >
      <button class="filter-item-cell seed-line-clamp"
              *ngFor="let item of data.brandList;let idx = index;let last = last"
              [class.active]="idx == active"
              (click)="selectHandler(item,idx)"
      >
        {{item.brandName}}
      </button>
    </div>-->
  </div>
</div>

